package org.example.memora.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "chat_history")
public class ChatHistoryEntity {

    @Id
    private String id;

    private String type;

    private String chatId;

    public ChatHistoryEntity(String type, String chatId) {
        this.type = type;
        this.chatId = chatId;
    }
}
